﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Upload.aspx.cs" Inherits="Card.Manager.Upload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>上传图片</title>
    <link href="Css/Style.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript">
        function upload_sucess(photo) {
            window.opener.upload_sucess(photo);
            alert("上传成功");
            window.close();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="TB">
        <tr>
            <td class="TD_Input_Text" style="width: 20%">
                文件
            </td>
            <td class="TD_Input">
                <asp:FileUpload runat="server" ID="fileUpload" />
                <asp:Button ID="btnUpload" runat="server" Text="上传" onclick="btnUpload_Click"/>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
